<?php

namespace App\Http\Repository;

use App\Set;

class SetRepository
{
    private $set;

    public function __construct(Set $set)
    {
        $this->set = $set;
    }

    //得到设置的键值对
    public function getSet()
    {
        return $this->set->lists('value','name');
    }
}